%%Run the "Squares Task" demo for Snow Dots
clear
clear classes

dm = dotsTheDrawablesManager.theObject;
dm.serverMode = true;
dm.clientMode = true;
[squaresTree, squaresList] = configureSquaresTask;

%%
try
    squaresTree.run;
catch err
    dotsTheScreen.reset;
    rethrow(err)
end